import '@/assets/main.css'
import 'animate.css'
import '@/assets/font/font.css'
import 'nprogress/nprogress.css'
import App from './App.vue'
import { createApp } from 'vue'
import router from "@/router/index"
import '@/utils/permission'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'viewerjs/dist/viewer.css'
import VueViewer from 'v-viewer'

import pinia from '@/stores/index'



const app = createApp(App)

// 引入 element图标
for(const [key,component] of Object.entries(ElementPlusIconsVue)){
    app.component(key, component)
}


app.use(pinia).use(router).use(VueViewer).mount('#app')
